package one_02_operator;

public class demo05 {
    public static void main(String[] args) {
        boolean a = true;
        boolean b = false;
        System.out.println("a && b:"+(a && b));//逻辑与：都为真，为true
        System.out.println("a || b:"+(a || b));//逻辑或：一个为真，为true
        System.out.println("!(a && b):"+!(a && b));//逻辑非：取反运算
    }
}
